﻿@{
    ViewBag.Title = "QuestionPaperList";
}

<h2>QuestionPaperList</h2>

<table class="table table-border table-bordered table-hover table-bg">
    <tr class="text-c">
        <th>试卷编号</th>
        <th>试卷名称</th>
        <th>开考时间</th>
        <th>是否开始</th>
        <th>学院</th>
        <th>系（专业）</th>
        <th>阶段</th>
        <th>科目</th>
        <th>单元</th>
        <th>创建人</th>
        <th>创建时间</th>
    </tr>
    @foreach (var a in Model)
    {
        <tr class="text-c">
            <td>@a.QuestionPaperId</td>
            <td>@a.PaperName</td>
            <td>@a.StartTime</td>
            @if (a.IsStart == 0)
            {
                <td>未开始</td>
            }
            @if (a.IsStart == 1)
            {
                <td>已结束</td>
            }
            <td>@a.College</td>
            <td>@a.Professtional</td>
            <td>@a.Stage</td>
            <td>@a.Subject</td>
            <td>@a.Unite</td>
            <td>@a.CreatePerson</td>
            <td>@a.CreateTime</td>
        </tr>
    }
</table>
